xend: Fix and improve default NUMA node selection.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 19 Mar 2008 10:20:17 +0000 (10:20 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 19 Mar 2008 10:20:17 +0000 (10:20 +0000)
commitcccd45319705e3e9ad9bc812027d55c5a2bcea73
treed49d4dc39ea7cd8786e319fe4378f1332a73f5f4
parent67ae17b56246d556c8e9e1e87c2a5523cdfd3409
xend: Fix and improve default NUMA node selection.

Add the missing condition check and use average value instead of the
sum value of Vcpus pinning cpus on certain node to choose relaxed node.

Signed-off-by: Duan Ronghui <ronghui.duan@intel.com>
tools/python/xen/xend/XendDomainInfo.py